package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Dingdan;

/**
 * 订单Service接口
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public interface IDingdanService 
{
    /**
     * 查询订单
     * 
     * @param ddId 订单主键
     * @return 订单
     */
    public Dingdan selectDingdanByDdId(Long ddId);

    /**
     * 查询订单列表
     * 
     * @param dingdan 订单
     * @return 订单集合
     */
    public List<Dingdan> selectDingdanList(Dingdan dingdan);

    public List<Dingdan> selectDingdanListAll(Dingdan dingdan);

    /**
     * 新增订单
     * 
     * @param dingdan 订单
     * @return 结果
     */
    public int insertDingdan(Dingdan dingdan);

    /**
     * 修改订单
     * 
     * @param dingdan 订单
     * @return 结果
     */
    public int updateDingdan(Dingdan dingdan);

    /**
     * 批量删除订单
     * 
     * @param ddIds 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteDingdanByDdIds(Long[] ddIds);

    /**
     * 删除订单信息
     * 
     * @param ddId 订单主键
     * @return 结果
     */
    public int deleteDingdanByDdId(Long ddId);
}
